package com.cip.admin.dao;

import java.util.List;

import com.cip.admin.model.Friends;
import com.cip.admin.model.User;

public interface FriendsDAO {
	
	Friends saveOrUpdateFriends(Friends friends) throws Exception;
	
	List<User> getAllFriendsById(int requestFriendId) throws Exception;
	
	List<User> getSuggestedFriendsList(User requestFriend) throws Exception;
	
	List<User> getFriendBySearchName(String name) throws Exception;
	
	Friends getFriendByRequestAndResponse(int requestFriendId, int responseFriendId) throws Exception;
	
	List<User> getAllUnConfirmedFriendsById(int responseFriendId) throws Exception;
	
	List<User> getAllInactiveFriendsById(int requestFriendId) throws Exception;

}
